onPrimaryNavigationFragmentChanged

open fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean)(source)

Callback for when the primary navigation state of this Fragment has changed. This can be the result of the getParentFragmentManager containing FragmentManager} having its primary navigation fragment changed via setPrimaryNavigationFragment or due to the primary navigation fragment changing in a parent FragmentManager.

Parameters

isPrimaryNavigationFragment

True if and only if this Fragment and any parent fragment is set as the primary navigation fragment via setPrimaryNavigationFragment.